package com.ctiot.custom.oauth.model;

/**
 * @projectName: oauth-sdk-bim
 * @packageName: com.ctiot.bim.oauth.model
 * @description:
 * @author: huayang.bai
 * @date: 2021-04-12 10:36
 */
public class AccessToken {
    /**
     * 过期时间
     */
    private String expiresIn;
    /**
     * 用户Id
     */
    private String uid;
    /**
     * 访问token
     */
    private String accessToken;
    /**
     * 刷新token
     */
    private String refreshToken;

    public String getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(String expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    @Override
    public String toString() {
        return "AccessToken{" +
                "expiresIn='" + expiresIn + '\'' +
                ", uid='" + uid + '\'' +
                ", accessToken='" + accessToken + '\'' +
                ", refreshToken='" + refreshToken + '\'' +
                '}';
    }
}
